package com.toby.day44.bean;

/**
 * 购物车条目，用于添加购物车和列表的显示
 */
public class CartItem {

    /**
     * 买什么
     */
    private Product product;

    /**
     * 购买的个数
     */
    private int count;

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
